#define _CRT_SECURE_NO_WARNINGS 1
//删除公共字符
//如输入They are students. 
//		aeiou
//输出	Thy r stdnts.
//字符串长度不超过100
#include<stdio.h>
#include<string.h>
void Del(char* arr1, char arr2)
{
	int m = 0;
	while (arr1[m] != '\0')
	{
		if (arr1[m] == arr2)
		{
			int t = m;
			while (arr1[t] != '\0')
			{
				arr1[t] = arr1[t + 1];
				t++;
			}
		}
		else
		{
			m++;
		}
	}

}

int main()
{
	char arr1[100] = { 0 };
	char arr2[100] = { 0 };
	gets(arr1);
	gets(arr2);
	int i = 0;
	while (arr2[i] != '\0')
	{
		Del(arr1, arr2[i]);
		i++;
	}
	printf("%s", arr1);
}